<?php

class Frontpage extends CI_Controller
{
    
    function frontpage(){//constructor
        
        parent::__construct();
    }
    
    //basic page to be loaded
    function index(){
        
        //$this->load->model('artikel_model');
        //$data['kumpulan'] = $this->artikel_model->getAllArtikel();
        
        $this->load->view('home_view');
    }
    
    
    //about page
    function about(){
        
        $this->load->view('about_view');
        
    }
    
    
    
    
    
    
    
}
?>
